﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">常用工具</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">流水账</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
            	                                 <li class="current"><a href="#">流水账</a></li>			
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">

<style type="text/css">
.search_box {
padding:10px;
vertical-align:middle;
}
.search_box .l {
float:left;
vertical-align:middle;
}
.search_box .r {
float:right;
}
</style>
                                   
                                   
                                   
<form  method="post" action="<!--{url('admin/?app=do&act=usermoney')}-->" >
<div class="search_box">
<div class="l"><img  src="{$web_view_dir}style/images/it_nav.gif" align="middle">
请输入您要搜索的交易号或用户id号：
<input name="keyword" value="{$keyword}" id="keyword" type="text" /> 
<select name="type"> 
<option value="1" <!--{if ($searchtype==1) }-->selected<!--{/if}-->>交易号</option> 
<option value="2" <!--{if ($searchtype==2) }-->selected<!--{/if}-->>用户id号</option> 
</select> 
<select name="status">
<option value="false" <!--{if ($status=='false') }-->selected<!--{/if}-->>订单状态不限</option> 
<option value="1" <!--{if ($status=='1') }-->selected<!--{/if}-->>充值单</option> 
<option value="0" <!--{if ($status=='0') }-->selected<!--{/if}-->>付款单</option> 
</select> 
<input name="bottom" type="submit" id="bottom" value="搜索" class="buton"/>
</div>

<div class="r">

</div>

</div>
</form>	
<div class="clear"></div>	
	
    <table  class="data" >
        <thead>

      <th>交易号</th>
      <th>用户编号</th>
      <th>主题</th>
      <th>内容</th>
      <th>交易日期</th>
      <th>金额</th>
      <th>管理</th>	
		
        </thead>
	    <tbody>
		
<!--{if (empty($lw_data)) }--> 
<tr>
<td colspan="7">暂时还没有任何信息！</td>
</tr>
<!--{/if}-->


<!--{if (!empty($lw_data)) }-->
<!--{foreach($lw_data as $_key => $_value )}-->


<tr  >
<td >{$_value.mid}</td> 
<td >{$_value.userid}</td> 
<td  >{$_value.name}</td>
<td width="40%">{$_value.intro}</td>
<td >{$_value.time|dateymdgis}</td> 
<td ><!--{if ($_value.type==0)}--><font color=blue>-</font><!--{elseif ($_value.type==1)}--><font color=red>+</font><!--{/if}-->{$_value.money}</td>

<td align="center" >

----

</td>
</tr> 


 <!--{/foreach}--> 
<!--{/if}--> 


<style type="text/css">

.p_bar {
margin-top:5px;
}
.p_info {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_curpage {
border:1px solid #CCCCCC;
color:#FF0000;
font-weight:bold;
margin:0 2px;
padding:3px 5px;
text-align:center;
}

.p_num  {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_redirect {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}

a {
color:#003366;
text-decoration:none;
}


</style>

<tr>
	<td colspan="7">
    <div class="p_bar">
    <span class="p_info">Total:&nbsp;<b>{$lw_page.total}</b>&nbsp;&nbsp;共{$lw_page.curr.num}/{$lw_page.totalpage}页</span>
    <a class="p_num" href="{$lw_page.head}">首页</a>
    <a class="p_num" href="{$lw_page.up}">&lt;&lt;</a>
    <a class="p_num" href="{$lw_page.up}">上一页</a>
    <span class="p_curpage">{$lw_page.curr.num}</span>
    <a  class="p_num" href="{$lw_page.down}">下一页</a>
    <a  class="p_num" href="{$lw_page.down}">&gt;&gt;</a>
    <a  class="p_num" href="{$lw_page.foot}">末页</a>    
    
    </div>
    </td>
</tr>
	
		
	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->